﻿using UnityEngine;
using System.Collections;

public class NodeDebugger : MonoBehaviour {
	Node target;
	// Use this for initialization
	bool a = false;
	void OnGUI(){
		if (a) {
			GUI.Box (new Rect (100, 100, 400, 20), "HValue: " + target.HeuristicValue + " FValue:" + target.FValue + " MovementCost" + target.MovementCost + " NPCWalkable: " + target.NPCWalcable);
		}
	}
	public void SetTarget(Node n){
		target = n;
		a = true;
	}
}
